//
//  ChatViewController.h
//  Conference
//
//  Created by chenxin on 12-11-15.
//
//

#import <UIKit/UIKit.h>
#import "EGORefreshTableHeaderView.h"

@interface ChatViewController : UIViewController<UITextFieldDelegate,UITableViewDelegate, UITableViewDataSource
,EGORefreshTableHeaderDelegate>{
 
    UITextField *txt_chat;
    NSMutableArray *arrayOfData;
    int currRecord;
    
      BOOL _reloading;
    
     EGORefreshTableHeaderView *_refreshHeaderView;
}

@property (retain, nonatomic) IBOutlet UITextField *txt_chat;
@property (retain, nonatomic) NSMutableArray *arrayOfData;
@property (retain, nonatomic) IBOutlet UIView *bottomView;
@property (nonatomic) int currRecord;
@property (retain, nonatomic) IBOutlet UITableView *bubleTable;

@property (retain, nonatomic)  EGORefreshTableHeaderView *refreshHeaderView;
- (IBAction)backAction:(id)sender;
//- (IBAction)textFieldDoneEditing:(id)sender;
- (IBAction)sendMsg:(id)sender;

- (void)doneLoadingTableViewData:(NSString *)errInfo;
- (void)reloadTableViewDataSource;
@end
